package com.combetter.changxing.db.entity;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 作者: Chen
 * 日期: 2018/10/26 13:45
 */
@Entity(tableName = "collect_table")//已收藏
public class Collect {

    /**
     * uid : 2bcba63bffef4bf1ae7e68fc55027253
     * code : 6901028942898
     * ctime : 1540464512000
     * trademark : 双喜•好日子
     * type : 1
     * goodsName : 双喜(硬精品好日子)小盒
     */

    @PrimaryKey(autoGenerate = true)
    private int id;
    @ColumnInfo(name = "_trademark") // 名称
    private String trademark;    //名称

    @ColumnInfo(name = "_goodsName") //
    private String goodsName;   //

    @ColumnInfo(name = "_muid") //
    private int muid;

    @ColumnInfo(name = "_uid") //
    private String uid;

    @ColumnInfo(name = "_type") //
    private int type;

    @ColumnInfo(name = "_ctime") //
    private long ctime;

    @ColumnInfo(name = "_code") //
    private String code;

    @ColumnInfo(name = "_currentSelect") //0,1
    private int selectCurrent;

    @ColumnInfo(name = "_sindex") //
    private String sindex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTrademark() {
        return trademark;
    }

    public void setTrademark(String trademark) {
        this.trademark = trademark;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getMuid() {
        return muid;
    }

    public void setMuid(int muid) {
        this.muid = muid;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getCtime() {
        return ctime;
    }

    public void setCtime(long ctime) {
        this.ctime = ctime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public String getSindex() {
        return sindex;
    }

    public void setSindex(String sindex) {
        this.sindex = sindex;
    }

    public int getSelectCurrent() {
        return selectCurrent;
    }

    public void setSelectCurrent(int selectCurrent) {
        this.selectCurrent = selectCurrent;
    }
}
